
#import <UIKit/UIKit.h>

// Note imported (adopted) ActionSheetDelegate protocol
@interface Example4ViewController : UIViewController <UIActionSheetDelegate> 
{
    // Declare outlets.
    UISwitch *leftSwitch;
    UISwitch *rightSwitch;
    UIButton *button;
}

// Set outlet properties.
@property (nonatomic, retain) IBOutlet UISwitch *leftSwitch;
@property (nonatomic, retain) IBOutlet UISwitch *rightSwitch;
@property (nonatomic, retain) IBOutlet UIButton *button;

// Methods
// Main control action method
-(IBAction) mainControlSwitched:(id)sender;
// Switch changed method
-(IBAction) switchChanged:(id)sender;
// Button pressed method
-(IBAction) buttonPressed;


@end

